package com.yx.musicplayer.api;

import com.yx.baselibrary.http.HttpResult;
import com.yx.musicplayer.constant.HttpConstant;

import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by yx on 2017/11/1 0001.
 */

public interface LastFmService {
    @Headers("Cache-Control: public")
    @GET(HttpConstant.BASE_PARAMETERS_ARTIST)
    Observable<HttpResult<String>> getArtistInfo(@Query("artist") String artist);
}
